package com.it.xuehang.util;

/**
 * @author ${"xuehang"}
 * @version 1.0
 * Create by 2024/12/10
 */
import java.util.UUID;

public class GuidUtils {

    /**
     * 生成32位的GUID
     * @return 32位的GUID字符串
     */
    public static String generateGUID() {
        return UUID.randomUUID().toString().replace("-", "");
    }

    public static void main(String[] args) {
        // 测试生成 GUID
        String guid = generateGUID();
        System.out.println("Generated GUID: " + guid);
    }
}

